package com.sun.thy.Controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

@Controller
public class UserController {



	/*//去登录页面
	@GetMapping("/toLogin")
	public String toLogin(){
		return "login";
  }

  	@PostMapping("/login")
	public String login(@RequestBody String name, String password, Map<String,String> map){

		return "login";
	}*/

}